package org.jeecg.modules.htxincailiao.versions.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @Description: ht_versions
 * @Author: jeecg-boot
 * @Date:   2023-03-10 10:06:30
 * @Version: V1.0
 */
@Data
@TableName("ht_versions")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ht_versions对象", description="ht_versions")
public class HTVersions implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**平台类型 0-安卓*/
	@Excel(name = "平台类型 0-安卓", width = 15, dicCode = "client_platform_type")
	@Dict(dicCode = "client_platform_type")
    @ApiModelProperty(value = "平台类型 0-安卓")
    private java.lang.Integer platform;
	/**版本号*/

    @NotNull(message = "版本号不能为空")
	@Excel(name = "版本号", width = 15)
    @ApiModelProperty(value = "版本号")
    private java.lang.String number;
	/**版本名称*/
	@Excel(name = "版本名称", width = 15)
    @ApiModelProperty(value = "版本名称")
    private java.lang.String name;
	/**作者*/
	@Excel(name = "作者", width = 15)
    @ApiModelProperty(value = "作者")
    private java.lang.String author;
	/**软件包*/
	@Excel(name = "软件包", width = 15)
    @ApiModelProperty(value = "软件包")
    private java.lang.String appPackage;
	/**描述*/
	@Excel(name = "描述", width = 15)
    @ApiModelProperty(value = "描述")
    private java.lang.String description;
	/**二维码*/
	@Excel(name = "二维码", width = 15)
    @ApiModelProperty(value = "二维码")
    private java.lang.String qrCodeUrl;
	/**下载链接*/
	@Excel(name = "下载链接", width = 15)
    @ApiModelProperty(value = "下载链接")
    private java.lang.String downloadUrl;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private java.lang.Integer sort;
	/**审批人*/
	@Excel(name = "审批人", width = 15)
    @ApiModelProperty(value = "审批人")
    private java.lang.String auditUsername;
	/**审核状态：0-未审核 1-审核中 2-已通过 3-已驳回*/
	@Excel(name = "审核状态：0-未审核 1-审核中 2-已通过 3-已驳回", width = 15)
    @ApiModelProperty(value = "审核状态：0-未审核 1-审核中 2-已通过 3-已驳回")
    private java.lang.String auditStatus;
	/**审批意见*/
	@Excel(name = "审批意见", width = 15)
    @ApiModelProperty(value = "审批意见")
    private java.lang.String auditComments;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
}
